# Contributor: Orson Teodoro <orsonteodoro@hotmail.com>
# Maintainer: Orson Teodoro <orsonteodoro@hotmail.com>

pkgname=powerline-extra-symbols
pkgver=0_git20171017
pkgrel=0
pkgdesc="Extra glyphs for your powerline separators"
url="https://github.com/ryanoasis/powerline-extra-symbols"
arch="noarch"
license="MIT"
depends="fontconfig"
subpackages="$pkgname-doc"
options="!check" # upstream has no unit test
_gitrev="7fa9262caf89c500d6024313d35f0571c90aae79"
source="$pkgname-$pkgver.zip::https://github.com/ryanoasis/$pkgname/archive/$_gitrev.zip"
builddir="$srcdir/"$pkgname-$_gitrev

package() {
	cd "$builddir"
	install -d "$pkgdir"/usr/share/fonts/$pkgname \
		"$pkgdir"/usr/share/doc/$pkgname/
	install -t "$pkgdir"/usr/share/fonts/$pkgname/ \
		"$builddir"/PowerlineExtraSymbols.otf
	install -t "$pkgdir"/usr/share/doc/$pkgname/ "$builddir"/README.md
}

sha512sums="8d0205a843ca2fbe9ba3ab174be2e3d94b132caa60df9b19de49dd23a2d715dccb60198272a55ceb4333fc4441649f5d12426c7aa381254b34149528396fddec  powerline-extra-symbols-0_git20171017.zip"
